<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/index">主页</router-link>
    <router-link to="/news">新闻</router-link>
    <router-link to="/sports">体育</router-link>

    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },

  created() {},

  methods: {},
}
</script>

<style lang="less" scoped></style>
